<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="com.xuebang.admin.entity.OperatorRules"%>
<%@ page language="java" import="com.xuebang.admin.entity.Operator"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
// 网站地址
String netPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
%>
<%
Operator currentOperator = (Operator)request.getAttribute("currentOperator");
%>
 <div id="iaas_layout_sidebar" class="sidebar140 sidebar_close"> 

    <div class="sidebar_bd">
      <div class="eye"><img src="<%=basePath %>images/zhgl.png" />
        <p class="text">帐户管理 </p>
      </div>
      <%-- <div class="unfold"> <a href="#"><img src="<%=basePath %>images/unfold.gif" /></a> </div> --%>
      <ul class="zyglsidebar">
       <%if (currentOperator.hasPerm(OperatorRules.PERM_ACCOUNT)){%>
        <li><a href="<%=basePath %>account/index"><img src="<%=basePath %>/images/zhgl0${menu1}.png" /><span class="text">帐号管理</span></a></li><%}%>
       <%if (currentOperator.hasPerm(OperatorRules.PERM_OPERATOR)){%>
        <li><a href="<%=basePath %>account/user"><img src="<%=basePath %>images/yhgl0${menu2}.png" /><span class="text">用户管理</span></a></li><%}%>
       <%if (currentOperator.hasPerm(OperatorRules.PERM_ROLE)){%>
        <li><a href="<%=basePath %>account/role"><img src="<%=basePath %>images/jsgl0${menu3}.png" /><span class="text">角色管理</span></a></li><%}%>
      <%--  <%if (currentOperator.hasPerm(OperatorRules.PERM_DEPARTMENT)){%>
        <li><a href="<%=basePath %>account/department"><img src="<%=basePath %>images/zzjg0${menu4}.png" /><span class="text">组织架构</span></a></li><%}%> --%>
      </ul>
    </div>
  </div>